DefaultGraphLogger

class DefaultGraphLogger(var level: ILogger.Level = Level.INFO) : AbstractLogger

Default logger for the library that writes to Log with a default log level level of Level.INFO

Constructors

Link copied to clipboard
constructor(level: ILogger.Level = Level.INFO)

Properties

Link copied to clipboard
open override var level: ILogger.Level

Functions

Link copied to clipboard
fun d(tag: String, message: String, throwable: Throwable? = null)

Send a Level.DEBUG log message and log the exception.

Link copied to clipboard
fun e(tag: String, message: String, throwable: Throwable? = null)

Send a Level.ERROR log message and log the exception.

Link copied to clipboard
fun i(tag: String, message: String, throwable: Throwable? = null)

Send a Level.INFO log message and log the exception.

Link copied to clipboard
open fun isLoggable(level: ILogger.Level): Boolean
Link copied to clipboard
open override fun log(level: ILogger.Level, tag: String, message: String, throwable: Throwable?)

Write a log message to its destination.

Link copied to clipboard
fun v(tag: String, message: String, throwable: Throwable? = null)

Send a Level.VERBOSE log message and log the exception.

Link copied to clipboard
fun w(tag: String, message: String, throwable: Throwable? = null)

Send a Level.WARNING log message and log the exception.